.multi-ellipsis(@lines) {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: @lines;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
}

.ellipsis() {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

// layout安全边距
.safeWidth(@w: @safe-width) {
  padding: @page-header-height @w @w @w;
}

.fontSize(@f) {
  font-size: @f;
}

.icon(@w: 12px, @h: 12px) {
  display: inline-block;
  width: @w;
  height: @h;
  background-size: cover;
}
